current_folder can be NULL here, do not try to reference it (Bug #540235)
authorCarlos Garnacho <carlos@imendio.com>
Thu, 26 Jun 2008 09:41:13 +0000 (09:41 +0000)
committerCarlos Garnacho <carlosg@src.gnome.org>
Thu, 26 Jun 2008 09:41:13 +0000 (09:41 +0000)
commit1732652e7101144166219a5bea88b8cda0b25a98
tree20ba9f726177d3d9cf2ce3f8b106c8178714d555
parent260e94547f71a66eebf8df2099b57cfc7f68964a
current_folder can be NULL here, do not try to reference it (Bug #540235)

2008-06-26  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtkfilechooserdefault.c
        (gtk_file_chooser_default_get_current_folder): current_folder can be
        NULL here, do not try to reference it (Bug #540235)
        (gtk_file_chooser_default_get_files): Deal better with
        gtk_file_chooser_default_get_current_folder() being able to return
        NULL.

svn path=/trunk/; revision=20687
ChangeLog
gtk/gtkfilechooserdefault.c